From: Isaku Yamahata Date: Wed, 29 Oct 2008 02:02:23 +0000 (+0900) Subject: [IA64] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14057 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=9a2c323f4f27e2865fe1e2b374ad800caca16f36;p=xen.git [IA64] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn. page reference count was leaked so that hvm domain wasn't freed. This patch fixes it. Signed-off-by: Isaku Yamahata --- diff --git a/xen/arch/ia64/xen/mm.c b/xen/arch/ia64/xen/mm.c index 0ccd756046..1d530e77ce 100644 --- a/xen/arch/ia64/xen/mm.c +++ b/xen/arch/ia64/xen/mm.c @@ -3365,7 +3365,6 @@ arch_memory_op(int op, XEN_GUEST_HANDLE(void) arg) /* Map at new location. */ /* Here page->count_info = PGC_allocated | N where N >= 1*/ __guest_physmap_add_page(d, xatp.gpfn, mfn); - page = NULL; /* prevent put_page() */ out: domain_unlock(d);